﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BBCP.UI.Menu;
using BBCP.Model;




namespace BBCP.UI
{
    class Program
    {
        static void Main(string[] args)
        {
            NorthwindEntities context = new NorthwindEntities();
            var result = context.Products.OrderBy(n => n.Order_Details.FirstOrDefault().Discount).Take(10);
            MenuFactory factory = new MenuFactory();
            BBCP.UI.Menu.Menu mainMenu = factory.GetMainMenu();

                       
            

            mainMenu.Run();
        }
    }
}
